import instance from "./request";



export const addshop = (obj: object) => {
    return instance.post("/data", obj)
}


export const putshop = (obj: object) => {
    return instance.put("/data", obj)
}
export const delshop = (id: number | string) => {
    return instance.delete(`/data/${id}`)
}
export const ssshop = (params: object) => {
    return instance.get("/data", { params })
}